.carousel {
  height: 100%;
  overflow: hidden;
  background: url('https://picsum.photos/2560/1440') no-repeat;
  background-size: cover;
  position: relative;
  .carousel_title {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    h1 {
      font-size: 60px;
      color: #fff;
      font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
      cursor: pointer;
    }
    h1:hover span {
      color: #fff;
      margin: 0 5px;
      text-shadow: 0 0 10px rgba(255, 255, 255, 0.699),
        0 0 20px rgba(255, 255, 255, 0.699), 0 0 40px rgba(255, 255, 255, 0.699),
        0 0 80px rgba(255, 255, 255, 0.699),
        0 0 120px rgba(255, 255, 255, 0.699);
    }
    .aplayer {
      height: 100px;
      width: 600px;
    }
  }
  .carousel_tip {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    .square {
      position: relative;
      // width: 400px;
      height: 100px;
      padding: 0 10px;
      border-radius: 3%;
      background: rgba(0, 0, 0, 0.5);
      // 三角
      .triangle {
        position: absolute;
        top: -20px;
        left: 80px;
        width: 0px;
        height: 0px;
        border-width: 10px;
        border-style: solid;
        border-color: transparent transparent rgba(0, 0, 0, 0.5);
        border-image: initial;
      }
      p {
        font-size: 18px;
        color: rgb(255, 255, 255);
        font-weight: bold;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        padding: 5px 0;
      }
      ul {
        li {
          font-size: 20px;
          padding: 0 15px;
          cursor: pointer;
          position: relative;
          img {
            position: absolute;
            display: none;
            left: -50%;
            top: 50px;
            height: 100px;
            width: 100px;
          }
        }
        li:hover {
          img {
            display: block;
            animation: move_img 1.5s;
          }
        }

        @keyframes move_img {
          0% {
            -webkit-transform: translateY(50px);
            opacity: 0;
          }
        }
      }
    }
  }
  .star {
    /* 使用伪元素制作尾巴,此处可以写流星头部的形状 */
    /* 我觉得头部不带形状才好看,所以不写 */
    width: 0;
    height: 0;
    position: relative;
    opacity: 0;
    animation: star-fall 3s linear infinite;
    z-index: 9999;
  }
  .star::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    /* 这里用边框写了个长三角形作为流星的尾巴 */
    border: 2px solid transparent;
    border-left-width: 200px;
    border-left-color: rgba(95, 146, 255, 0.637);

    /* 变形,旋转-45° 拉伸 */
    transform: rotate(-45deg) translate3d(1px, 3px, 0);
    /* 设置原点 */
    transform-origin: 0% 100%;
  }

  /* 流星滑落动画 */
  @keyframes star-fall {
    0% {
      opacity: 0;
      transform: scale(0.5) translate3d(0, 0, 0);
      /* 兼容一些浏览器 */
      -webkit-transform: scale(0.5) translate3d(0, 0, 0);
      -moz-transform: scale(0.5) translate3d(0, 0, 0);
    }
    50% {
      opacity: 1;
      transform: translate3d(-200px, 200px, 0);
      -webkit-transform: translate3d(-200px, 200px, 0);
      -moz-transform: translate3d(-200px, 200px, 0);
    }
    100% {
      opacity: 0;
      transform: scale(1.2) translate3d(-300px, 300px, 0);
      -webkit-transform: scale(1.2) translate3d(-300px, 300px, 0);
      -moz-transform: scale(1.2) translate3d(-300px, 300px, 0);
    }
  }
}
